package com.task.core.dto.request;

import javax.validation.constraints.NotBlank;

import com.task.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 迪迦.
 * @date 2024/11/11 13:54
 */
@Data
public class DataOperationRequestDTO extends BaseEntity{

  @ApiModelProperty("数据源code")
  @NotBlank(message = "数据源不能为空")
  private String dataSourceCode;

  @ApiModelProperty("DataFileTypeEnum  DATA/REFERER")
  @NotBlank(message = "dataType不能为空")
  private String dataType;

  @ApiModelProperty("文件code")
  private String fileCode;

  @ApiModelProperty("开始时间   yyyy-MM-dd 00:00:00")
  private String startTime;

  @ApiModelProperty("结束时间   yyyy-MM-dd 23:59:59")
  private String endTime;

  @ApiModelProperty("使用状态,true/false/null")
  private Boolean useStatus;

  @ApiModelProperty("编号")
  private String tNum;

  @ApiModelProperty("id 需要配合tNum使用")
  private Integer id;

  @ApiModelProperty("翻页类型,第一次进入页面传空,往前翻页传before, 往后传after")
  private String searchType;

  @ApiModelProperty("表1往前翻页取当前页最小id")
  private Integer table1MinIdNext;

  @ApiModelProperty("表1往后翻页取当前页最大id")
  private Integer table1MaxIdNext;

  @ApiModelProperty("表2往前翻页取当前页最小id")
  private Integer table2MinIdNext;

  @ApiModelProperty("表2往前翻页取当前页最小id")
  private Integer table2MaxIdNext;

  @ApiModelProperty("表3往前翻页取当前页最小id")
  private Integer table3MinIdNext;

  @ApiModelProperty("表3往后翻页取当前页最大id")
  private Integer table3MaxIdNext;

  @ApiModelProperty("表4往前翻页取当前页最小id")
  private Integer table4MinIdNext;

  @ApiModelProperty("表4往后翻页取当前页最大id")
  private Integer table4MaxIdNext;

  @ApiModelProperty("表5往前翻页取当前页最小id")
  private Integer table5MinIdNext;

  @ApiModelProperty("表5往后翻页取当前页最大id")
  private Integer table5MaxIdNext;

  @ApiModelProperty("表6往前翻页取当前页最小id")
  private Integer table6MinIdNext;

  @ApiModelProperty("表6往后翻页取当前页最大id")
  private Integer table6MaxIdNext;

  @ApiModelProperty("表7往前翻页取当前页最小id")
  private Integer table7MinIdNext;

  @ApiModelProperty("表7往后翻页取当前页最大id")
  private Integer table7MaxIdNext;

  @ApiModelProperty("表8往前翻页取当前页最小id")
  private Integer table8MinIdNext;

  @ApiModelProperty("表8往后翻页取当前页最大id")
  private Integer table8MaxIdNext;

  @ApiModelProperty("表9往前翻页取当前页最小id")
  private Integer table9MinIdNext;

  @ApiModelProperty("表9往后翻页取当前页最大id")
  private Integer table9MaxIdNext;

  @ApiModelProperty("表10往前翻页取当前页最小id")
  private Integer table10MinIdNext;

  @ApiModelProperty("表10往后翻页取当前页最大id")
  private Integer table10MaxIdNext;

  @ApiModelProperty("页码")
  private Integer pageNum = 1;

  @ApiModelProperty("分页大小")
  private Integer pageSize = 100;

  @ApiModelProperty("上次页码")
  private Integer lastPageNum = 0;

}
